/*
* jlb
 */

package com.jlb.basic.vo;

import com.jlb.basic.entity.BasicArea;

import java.io.Serializable;
import java.util.List;

/**
 * Created by jlb on 2017/9/8.
 */
public class BasicAreaVO extends BasicArea implements Serializable {

    private static final long serialVersionUID = -765195464466368371L;

    List<BasicAreaVO> children;                 //当前区域的下级区域集合

    public void setBasicArea(BasicArea area) {
        super.setAreaCode(area.getAreaCode());
        super.setAreaName(area.getAreaName());
        super.setFullName(area.getFullName());
        super.setProvince(area.getProvince());
        super.setCity(area.getCity());
        super.setCounty(area.getCounty());
        super.setTown(area.getTown());
        super.setLevel(area.getLevel());
    }

    public List<BasicAreaVO> getChildren() {
        return children;
    }

    public void setChildren(List<BasicAreaVO> children) {
        this.children = children;
    }
}
